package com.lxxin.pojo;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.io.Serializable;

@NoArgsConstructor
@AllArgsConstructor
@Data
@ToString
@ApiModel("轮播实体类")
@JsonIgnoreProperties(value = {"handler"})
public class Carousel implements Serializable {
    @ApiModelProperty("轮播图id")
    private Long id;
    @ApiModelProperty("轮播图title")
    private String title;
    @ApiModelProperty("轮播图img")
    private String img;
    @ApiModelProperty("轮播图链接")
    private String href;
}
